import http from '../common/http.js'

//提交交易
export const replaceOrderApi = (parm)=>{
	return http.post('/api/goodsOrder/replaceOrder',parm)
}

//查询我的求购订单
export const getMyOrderApi = (parm)=>{
	return http.get('/api/goodsOrder/getMyOrder',parm)
}
//查询我的出售订单
export const getSellOrderApi = (parm)=>{
	return http.get('/api/goodsOrder/getSellOrder',parm)
}

//删除
export const deleteOrderApi = (parm)=>{
	return http.post('/api/goodsOrder/deleteOrder',parm)
}